package com.yunhe.policyfulfillment.authority.repository;
import com.yunhe.policyfulfillment.authority.domain.PolicyCompanyAuditProcess;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @description 企业注册审核
 * @author misty
 * @date 2021-09-18
 */
@Repository
public interface PolicyCompanyAuditProcessRepository {

    /**
     * 新增
     * @author misty
     * @date 2021/09/18
     **/
    int createPolicyCompanyAuditProcess(PolicyCompanyAuditProcess policyCompanyAuditProcess);

    /**
     * 新增
     * @author misty
     * @date 2021/09/18
     **/
    int createPolicyCompanyAuditProcessSelective(PolicyCompanyAuditProcess policyCompanyAuditProcess);

    /**
     * 刪除
     * @author misty
     * @date 2021/09/18
     **/
    int deletePolicyCompanyAuditProcessByPrimaryKey(@Param("id") int id);

    /**
     * 更新
     * @author misty
     * @date 2021/09/18
     **/
    int updatePolicyCompanyAuditProcessByPrimaryKey(PolicyCompanyAuditProcess policyCompanyAuditProcess);

    /**
     * 更新
     * @author misty
     * @date 2021/09/18
     **/
    int updatePolicyCompanyAuditProcessByPrimaryKeySelective(PolicyCompanyAuditProcess policyCompanyAuditProcess);

    /**
     * 根据主键查询
     * @author misty
     * @date 2021/09/18
     **/
    PolicyCompanyAuditProcess searchPolicyCompanyAuditProcessByPrimaryKey(@Param("id") int id);


    List<PolicyCompanyAuditProcess> searchPolicyCompanyAuditProcessByCompanyId(@Param("companyRegisterId") Long companyRegisterId);
}